
<nav class="navbar  navbar-inverse" role="navigation">
  <a class="navbar-brand" href="#">我是标题</a>
  <ul class="nav navbar-nav">
    <li routerLinkActive="active">
      <a  [routerLink]="['/home']"  >首页</a>
    </li>
    <li routerLinkActive="active">
      <a [routerLink]="['/product']"  >商品</a>
    </li>
  </ul>
</nav>

<!-- 用于放动态加载的组件 -->
<router-outlet></router-outlet>
